package com.bbcloud.pojo;

import java.math.BigDecimal;
import java.util.Date;

public class Product {
    private Integer id;

    private String categoryId;

    private String productId;

    private String productName;

    private String subName;

    private String productImages;

    private String description;

    private String showImages;

    private BigDecimal price;

    private Integer stock;

    private Integer status;

    private Date createTime;

    private Date updateTime;

    private String reserveStr1;

    private String reserveStr2;

    private Integer reserveInt1;

    private Integer reserveInt2;

    public Product(Integer id, String categoryId, String productId, String productName, String subName, String productImages, String description, String showImages, BigDecimal price, Integer stock, Integer status, Date createTime, Date updateTime, String reserveStr1, String reserveStr2, Integer reserveInt1, Integer reserveInt2) {
        this.id = id;
        this.categoryId = categoryId;
        this.productId = productId;
        this.productName = productName;
        this.subName = subName;
        this.productImages = productImages;
        this.description = description;
        this.showImages = showImages;
        this.price = price;
        this.stock = stock;
        this.status = status;
        this.createTime = createTime;
        this.updateTime = updateTime;
        this.reserveStr1 = reserveStr1;
        this.reserveStr2 = reserveStr2;
        this.reserveInt1 = reserveInt1;
        this.reserveInt2 = reserveInt2;
    }

    public Product() {
        super();
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getCategoryId() {
        return categoryId;
    }

    public void setCategoryId(String categoryId) {
        this.categoryId = categoryId == null ? null : categoryId.trim();
    }

    public String getProductId() {
        return productId;
    }

    public void setProductId(String productId) {
        this.productId = productId == null ? null : productId.trim();
    }

    public String getProductName() {
        return productName;
    }

    public void setProductName(String productName) {
        this.productName = productName == null ? null : productName.trim();
    }

    public String getSubName() {
        return subName;
    }

    public void setSubName(String subName) {
        this.subName = subName == null ? null : subName.trim();
    }

    public String getProductImages() {
        return productImages;
    }

    public void setProductImages(String productImages) {
        this.productImages = productImages == null ? null : productImages.trim();
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description == null ? null : description.trim();
    }

    public String getShowImages() {
        return showImages;
    }

    public void setShowImages(String showImages) {
        this.showImages = showImages == null ? null : showImages.trim();
    }

    public BigDecimal getPrice() {
        return price;
    }

    public void setPrice(BigDecimal price) {
        this.price = price;
    }

    public Integer getStock() {
        return stock;
    }

    public void setStock(Integer stock) {
        this.stock = stock;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public String getReserveStr1() {
        return reserveStr1;
    }

    public void setReserveStr1(String reserveStr1) {
        this.reserveStr1 = reserveStr1 == null ? null : reserveStr1.trim();
    }

    public String getReserveStr2() {
        return reserveStr2;
    }

    public void setReserveStr2(String reserveStr2) {
        this.reserveStr2 = reserveStr2 == null ? null : reserveStr2.trim();
    }

    public Integer getReserveInt1() {
        return reserveInt1;
    }

    public void setReserveInt1(Integer reserveInt1) {
        this.reserveInt1 = reserveInt1;
    }

    public Integer getReserveInt2() {
        return reserveInt2;
    }

    public void setReserveInt2(Integer reserveInt2) {
        this.reserveInt2 = reserveInt2;
    }
}